package com.baomidou.springwind.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springwind.entity.Attendance;

import java.util.List;

/**
 * Created by Administrator on 2016/12/12.
 */
public interface AttendanceMapper extends AutoMapper<Attendance> {
    List<Attendance> selectAttendanceById(String id);

    List<Attendance> selectAllAttendance(int offset, int size);

    List<Attendance> selectByEmployeeName(int offset, int size, String keyword);

    List<Attendance> selectByEmployeeNum(int offset, int size, String keyword);

    List<Attendance> selectByEmployeeId(int offset, int size, String keyword);

    List<Attendance> selectByDepartmentName(int offset, int size, String keyword);

}
